package com.user.chris;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import com.sdk.chris.cmssdk.annotation.EnableCmsSDK;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@EnableCmsSDK
@EnableDubbo
@MapperScan(basePackages = "com.user.chris.dao")
@ComponentScan(basePackages = {"com.common.chris", "com.user.chris"})
// @ImportResource({ "classpath:config/spring-dubbo.xml" }) // 使用xml配置dubbo
public class UserApplication {

    public static void main(String[] args) {
        // System.setProperty("nacos.logging.default.config.enabled","false");
        SpringApplication.run(UserApplication.class,args);
    }

}
